﻿namespace LP
{
    public interface ILifecycle
    {
        void OnInit();
        void OnInitFinish();
        void OnDestroy();
    }

    public interface IClear
    {
        void OnClear();
    }

    public interface IDontDestroy
    {
        void DontDestroy();
    }

    public interface IFixedUpdate
    {
        void OnFixedUpdate(float delta);
    }

    public interface ICanUpdate
    {
        bool IsUpdate { get; set; }
    }

    public interface IUpdate
    {
        void OnUpdate(float delta);
    }
}